package warmachinesystem.presentation.editpart;

import warmachineroster.Roster;
import warmachinesystem.BaseUnit;

public class BaseUnitTreeEditPart extends WarmachineGameSystemAbstractTreeEditPart {

	public BaseUnitTreeEditPart(BaseUnit model, Roster roster) {
		super(model, roster);
	}

	@Override
	protected void refreshVisuals() {
		// TODO Override per cambiare il font in base allo stato della lista
		super.refreshVisuals();
	}

	public BaseUnit getBaseUnit() {
		return (BaseUnit) getModel();
	}

	@Override
	public String getText() {
		return getBaseUnit().getName();
	}
	
}
